package com.client.service.impl;

import com.client.pojo.ForumLikes;
import com.client.dao.ForumLikesDao;
import com.client.service.ForumLikesService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 帖子点赞记录表 服务实现类
 * </p>
 *
 * @author ckick
 * @since 2025-09-20 08:28:54
 */
@Service
public class ForumLikesServiceImpl extends ServiceImpl<ForumLikesDao, ForumLikes> implements ForumLikesService {
    @Autowired
    private ForumLikesDao forumLikesDao;
    @Override
    public List<ForumLikes> getByIds(Integer userId) {
        return forumLikesDao.getByIds(userId);
    }

    @Override
    public List<ForumLikes> getEntryByIds(Integer userId) {
        return forumLikesDao.getEntryByIds(userId);
    }
}
